package com.thb.pay;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class RedisDisconnectConnectionListener implements ApplicationListener<CacheOnlineEvent> {

    @Async
    @Override
    public void onApplicationEvent(CacheOnlineEvent event) {
        log.info("RedisDisconnectConnectionListener>>>>>>>>>>>>>>>receive");
    }

}
